home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d18 / fxwindow.arc / FXWINDOW.DOC next >
Text File  |  1991-04-28  |  7KB  |  213 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                F/X-Windows 1.0a
  14.  
  15.                              System Documentation
  16.  
  17.                             Written By Tom Bradford
  18.  
  19.                (C) 1988 By F/X-Software Systems And Tom Bradford
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.   Contents Of This Documentation:
  28.  
  29.       1  -  Licensing Agreement / Registration ..................    1
  30.       2  -  Procedures Of The UNIT ..............................    2
  31.       3  -  Credits .............................................    4
  32.  
  33.  
  34.  
  35.  
  36.   1 - Licensing Agreement / Registration                              Page 1
  37.  
  38.  
  39.  
  40.      F/X-Windows is the copyrighted work of F/X-Software Systems and Tom
  41.   Bradford.  The routines provided in the Turbo Pascal(R) UNIT FXWindow
  42.   are to be freely distributed under the following conditions:
  43.  
  44.      o All copies used either Publicly, Privately, or Commercially are
  45.        to be registered with the author of the UNIT prior to distribution
  46.        as part of another package.
  47.  
  48.      o If the UNIT is to be used in any form other than public domain or
  49.        personal usage, the party implementing the UNIT "Must" receive the
  50.        prior consent of the author.
  51.  
  52.      o If used, it must be noted to the user of the software that the
  53.        software implements the UNIT.  This can either be in the program's
  54.        documentation, in the actual run-time program, or both.
  55.  
  56.      o The UNIT can be distributed only in unmodified form.
  57.  
  58.      Please send your registrations including your Name, Home Phone Number,
  59.   BBS Number (If you have one), the application's name of which will
  60.   implement the UNIT, and Address to:
  61.  
  62.                          F/X-Software Systems
  63.                          Attn: Tom Bradford
  64.                          77 Marion St.  Apt #3
  65.                          Boston, Ma. 02128
  66.                          Phone: (617)561-0121 (Voice/Home)
  67.                                 (617)567-8993 (BBS/1200)
  68.  
  69.      Thank you very much for your cooperation.  Your registration entitles
  70.   you to revised versions of F/X-Windows and also to receive any new
  71.   software produced by F/X-Software Systems at half of its retail price.
  72.  
  73.                                                       - Tom Bradford
  74.  
  75.  
  76.  
  77.  
  78.   2 - Procedures Of The UNIT                                          Page 2
  79.  
  80.  
  81.  
  82.      F/X-Windows is a Turbo Pascal(R) 5.0 (and 4.0) Compile-Time UNIT that
  83.   allows use of Pop-Up windows in your Turbo Pascal(R) 5.0 (and 4.0)
  84.   programs.  The UNIT is called from your source code by the following
  85.   line:
  86.  
  87.      Uses FXWindows;
  88.  
  89.   This line inserts the temporary link code of the UNIT into your compiled
  90.   code at compile time.
  91.  
  92.      The UNIT has 7 main procedures that can be called from your programs.
  93.   These are:
  94.  
  95.      Type: Procedure
  96.      Name: Color
  97.      Parameters: FG,BG : Integer
  98.  
  99.      Definition: Sets the screen Foreground color (0-15) and Background
  100.                  color (0-7).
  101.  
  102.      Calling Example: Color(15,1);
  103.  
  104.      Output Of Example: White Foreground and Blue Background.
  105.  
  106.  
  107.      Type: Procedure
  108.      Name: DrawWindow
  109.      Parameters: X1,Y1,X2,Y2,FG,BG,Border : Integer - Shadow : Boolean
  110.  
  111.      Definition: Places a bordered window on the screen from coordinates
  112.                  X1(1-80),Y1(1-25) to X2(1-80),Y2(1-25) in the colors
  113.                  specified by FG and BG (see Color), with a border
  114.                  ranging from 1 to 6 and also shadows the window depending
  115.                  on the value of the variable Shadow.
  116.  
  117.      Calling Example: DrawWindow(5,5,75,20,15,5,1,True);
  118.  
  119.      Output Of Example: Draws a window from 5,5 to 75,20 with a white
  120.                         border color and magenta background color, a
  121.                         double-line border type and also puts a shadow
  122.                         on the lower-right of the screen.
  123.  
  124.  
  125.  
  126.  
  127.                                                                       Page 3
  128.  
  129.  
  130.  
  131.      Type: Procedure
  132.      Name: MoveWindow
  133.      Parameters: X,Y : Integer - Shadow : Boolean
  134.  
  135.      Definition: Moves the current window to the new coordinates (X,Y) on
  136.                  the screen, also shadows the window depending on the
  137.                  value of the variable Shadow.
  138.  
  139.      Calling Example: MoveWindow(2,2,False);
  140.  
  141.      Output Of Example: Moves the current window from wherever it is to the
  142.                         new upper-left coordinates defined by X,Y.
  143.  
  144.  
  145.      Type: Procedure
  146.      Name: RemoveWindow
  147.      Parameters: None
  148.  
  149.      Definition: Removes the current window and restores any data displayed
  150.                  beneath it.
  151.  
  152.      Calling Example: RemoveWindow;
  153.  
  154.      Output Of Example: As defined.
  155.  
  156.  
  157.      Type: Procedure
  158.      Name: SaveStartUpWindow
  159.      Parameters: None
  160.  
  161.      Definition: Saves the current screen as the Start Up (Screen 0) Window.
  162.  
  163.      Calling Example: SaveStartUpWindow;
  164.  
  165.      Output Of Example: None evident, but works as defined.
  166.  
  167.  
  168.      Type: Procedure
  169.      Name: UnInitWindow
  170.      Parameters: None
  171.  
  172.      Definition: Removes any windows on the screen and displays the Start Up
  173.                  Window.
  174.  
  175.      Calling Example: UnInitWindow;
  176.  
  177.      Output Of Example: Removes all windows (if any) from the screen and
  178.                         displays whatever data that was being displayed
  179.                         when the program started up.
  180.  
  181.  
  182.  
  183.  
  184.   3 - Credits                                                         Page 4
  185.  
  186.  
  187.      A great many thanks go out to all of the people who have contributed
  188.   ideas and comments to this project.  I most notably would like to thank:
  189.  
  190.      Keith La Riviere    The Remote Operator of my bulletin board system who
  191.                          co-founded F/X-Software Systems with me.
  192.  
  193.      Kibby Collins       F/X-Software Systems' business coordinator who
  194.                          contributed a wealth of ideas as to the production
  195.                          of the windowing routines.
  196.  
  197.      Jeremy Lew          A fellow programmer who constantly hounds me on the
  198.                          most incredibly small flaws in my coding (and he
  199.                          better register his copy too).
  200.  
  201.      Peter Neuendorffer  Yet another fellow programmer.  Pete got the first
  202.                          peak at the rough source code and was attracted to
  203.                          it almost immediately.
  204.  
  205.   Well, that's basically it.  If you have any questions, please feel free to
  206.   send them to the previously mentioned address.  I will respond as promptly
  207.   as possible.
  208.  
  209.                                                       - Tom Bradford
  210.                                                         21 Dec 1988
  211.  
  212.  
  213.